﻿using AutoMapper;
using ThreeTeams.API.Application.Command.ProductCommand;
using ThreeTeams.API.Application.Command.BoxTypeManageMentCommand;
using ThreeTeams.Domain.ThreeTeams.Domain;
using ThreeTeams.Domain;

namespace ThreeTeams.API
{
    public class MappingProfile:Profile
    {
        public MappingProfile()
        {
            CreateMap<CreateProductCommand, Product>().ReverseMap();
            CreateMap<UpdateProductCommand, Product>().ReverseMap();
            CreateMap<CreateBoxTypeCommand, BoxType>().ReverseMap();
            CreateMap<UpdateBoxTypeCommand, BoxType>().ReverseMap();        
        }
    }
}
